Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add task solution #3982

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

renatoveludo
Copy link

  • DEMO LINK

  • TEST REPORT LINK

  • Changing 'month-lengh' and 'start-day' modifier in the code element
    reflects in changing calendar layout

  • Each day has no modifiers, only class (eg. calendar__day)

  • All Typical Mistakes from BEM lesson theory are checked.

  • Code follows all the Code Style Rules ❗️

Copy link

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job on implementing the task requirements! 🎉 Your code is well-structured and meets the core requirements effectively. Just make sure that all SCSS variables like $font-size, $cell-border, $calendar-padding, $cell-size, and $gap are defined to avoid any compilation issues. Keep up the good work! 😊

✨ Please rate this review in the Platform's notification center. I will be grateful for your feedback! ✨

.calendar {
display: flex;
flex-wrap: wrap;
gap: $gap;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure that the variable $gap is defined in your SCSS files. If it's missing, it will cause a compilation error.

display: flex;
flex-wrap: wrap;
gap: $gap;
width: calc(7 * $cell-size + 6 * $gap);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure that the variable $cell-size is defined in your SCSS files. If it's missing, it will cause a compilation error.

flex-wrap: wrap;
gap: $gap;
width: calc(7 * $cell-size + 6 * $gap);
padding: $calendar-padding;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure that the variable $calendar-padding is defined in your SCSS files. If it's missing, it will cause a compilation error.

width: $cell-size;
height: $cell-size;
background-color: #eee;
border: $cell-border solid black;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure that the variable $cell-border is defined in your SCSS files. If it's missing, it will cause a compilation error.

left: 50%;
transform: translate(-50%, -50%);
font-family: Arial, sans-serif;
font-size: $font-size;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ensure that the variable $font-size is defined in your SCSS files. If it's missing, it will cause a compilation error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants